Chapter 17 sets and functions